package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import com.pda.ym.utils.Constants;

import java.io.Serializable;

/**
 * @author 000432
 * @date 2017/4/8
 * 卸车uc快递任务表
 */
@DatabaseTable(tableName = "unloadUcTaskNoTable")
public class UnloadUcTaskNoTable implements Serializable {
    /**
     * 自增长的ID
     */
    @DatabaseField(generatedId = true)
    private Long id;
    /**
     * 本地任务号，关联扫描表
     */
    @DatabaseField(index = true)
    private String task;
    /**
     * UC任务号
     */
    @DatabaseField
    private String taskNo;
    /**
     * 线路类型
     */
    @DatabaseField
    private Integer vheLineType;
    @DatabaseField
    private String createTime;

    public UnloadUcTaskNoTable() {
    }

    public UnloadUcTaskNoTable(String task, String taskNo, Integer vheLineType) {
        this.task = task;
        this.taskNo = taskNo;
        this.vheLineType = vheLineType;
        this.createTime = Constants.GetSysTime();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getTask() {
        return task;
    }

    public void setTask(String task) {
        this.task = task;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public Integer getVheLineType() {
        return vheLineType;
    }

    public void setVheLineType(Integer vheLineType) {
        this.vheLineType = vheLineType;
    }
}
